package top.knos.od.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/")
public class PageController {


    @GetMapping({"/","/index","/home","/index.html"})
    public String index() {
        return "index";
    }

    @GetMapping({"/his/feeItem"})
    public String feeItem() {
        return "feeItem";
    }

    @GetMapping({"/demo"})
    public String demo() {
        return "demo";
    }

}
